//
//  CJPack.swift
//  CJPack
//
//  Created by 陈警卫 on 2023/1/6.
//

import UIKit
import Foundation

private class CJPackBundle {}

extension Bundle {
    class var cj_bundle: Bundle {
        return Bundle(for: CJPackBundle.self)
    }
}


public class CJPack {
    
    public static let shared = CJPack()
    
    /// 图片加载占位图配置
    /// CJExten+SDWebImage
    public var imageHolderConfig: CJImageHolderConfig = CJImageHolderConfig()
    
    
    
    
}


/// 图片加载占位图配置
public struct CJImageHolderConfig {
    /// 占位控件(自定义控件类名 继承自CJExtenImageHolder)
    var className: String? = nil
    /// 占位图
    var imageName: String? = nil
}

public struct CJViewHolderConfig {
    
    /// 占位控件(自定义控件类名 继承自CJExtenViewHolder)
    var className: String? = nil
    /// 占位图
    var imageName: String? = nil
}

